package cn.kgc.ybis.service;

import cn.kgc.ybis.pojo.Teacher;
import com.github.pagehelper.PageInfo;

public interface TeacherService {
    //分页查询
    PageInfo<Teacher> select(Integer pageNum, Integer pageSize, Integer keyword);

    //添加
    public void Add(Teacher teacher);

    //修改回显
    public Teacher toupdate(Integer id);

    //修改
    public void update(Teacher teacher);

    //删除
    public int delete(Integer id);

}
